package sy.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import sy.dao.AppFriendsDaoI;
import sy.model.AppFriends;
import sy.service.AppFriendsServiceI;
@Service("appFriendsService")
public class AppFriendsServiceImpl implements AppFriendsServiceI{
	@Autowired
	AppFriendsDaoI appFriendsDao;

	@Override
	public List<AppFriends> listAppFriendsByAccountId(String accountId) {
		// TODO Auto-generated method stub
		return appFriendsDao.listAppFriendsByAccountId(accountId);
	}

	@Override
	public List<AppFriends> listAppFriendsByProjectId(String projectId) {
		// TODO Auto-generated method stub
		return appFriendsDao.listAppFriendsByProjectId(projectId);
	}

	@Override
	public void save(AppFriends appFriends) {
		// TODO Auto-generated method stub
		appFriendsDao.save(appFriends);
	}

	@Override
	public void delete(String id) {
		// TODO Auto-generated method stub
		appFriendsDao.delete(id);
	}

}
